Problems uploading Lecture 12 Notes

I tried to upload the code by copying from tex-file. It seems he does not like my formatting, but how can I change it? Has anyone had a similar problem?